<extend name='Layout/index' />

<block name='breadcrumb'>
	<li>
		<i class="icon-home home-icon"></i>
		<a href="#">首页</a>
	</li>
	<li class="active">积分管理</li>
</block>

<block name='page_header'>
	<h1 style="font-size:14px">
		 积分管理
		<i class="icon-double-angle-right"></i>
		 积分列表
		<i class="icon-double-angle-right"></i>
		 积分操作列表
		 <!-- <div style="float:right;height:40px;line-height:40px;"> --><a style="margin-left:680px;" href="<{:U('index')}>">返回</a><!-- </div> -->
	</h1>

</block>

<block name='main_content'>
		<div class="row">
		<div class="col-md-12">
			<table class='table' style="font-size:14px;">
			<thead>
				<tr>
					<th>会员id</th>
					<th>会员名称</th>
					<th>操作时间</th>
					<th>增加</th>
					<th>减少</th>
					<th>操作记录</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<volist name='list' id='vo'>
		
				<tr>
					<td><{$vo.iuid}></td>
					<td><{$vo.name}></td>
					<td><?php echo date('Y-m-d H:i:s',$vo['utime']) ?></td>

					<!-- <td><{$vo.type}></td>
					<td><{$vo.value}></td> -->

					<?php if($vo['type']==0){ ?>

					<td></td>
					<td><{$vo.value}></td>

					<?php }elseif($vo['type']==1){ ?>

					<td><{$vo.value}></td>
					<td></td>

					<?php } ?>	

					<td><{$vo.reason}></td>
					<td><a style="margin-left:-18px;" href="<{:U('index')}>" class="btn btn-danger">返回</a></td>
					
				</tr>  
				</volist>
			</tbody>
		</table>
		</div>
	</div>
</block>